package com.annocation;
@STable("STUDENT")
public class Student {
    @SColumn(columnName = "id",type = "varchar",length = 32)
    private String studentNo;
    @SColumn(columnName = "studentName",type = "varchar",length = 32)
    private String studentName;
    @SColumn(columnName = "studentName",type = "int",length = 32)
    private int age;

    public String getStudentNo() {
        return studentNo;
    }

    public void setStudentNo(String studentNo) {
        this.studentNo = studentNo;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public Student() {
    }

    public Student(String studentNo, String studentName, int age) {
        this.studentNo = studentNo;
        this.studentName = studentName;
        this.age = age;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
}
